package com.rc.saas.tenant.vo.ugs;

import com.rc.saas.tenant.model.ugs.TenantUgsMemberLevel;

/**
 * @author frog
 * @date 2021/4/8
 */
public class TenantUgsMemberLevelResultVo extends TenantUgsMemberLevel {
    private String nickname;
    private String mobile;
    private String memberType;
    private int keepValue;

    private Long memberId;

    //距离保级成长值
    private int distanceKeepValue;

    //距离升级成长值
    private int distanceMaxValue;

    private int maxValue;
    private String levelTypeName;

    @Override
    public Long getMemberId() {
        return memberId;
    }

    @Override
    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public int getDistanceKeepValue() {
        return keepValue - getTotoalExpValue();
    }

    public void setDistanceKeepValue(int distanceKeepValue) {
        this.distanceKeepValue = distanceKeepValue;
    }

    public int getDistanceMaxValue() {
        return maxValue - getTotoalExpValue();
    }

    public void setDistanceMaxValue(int distanceMaxValue) {
        this.distanceMaxValue = distanceMaxValue;
    }

    public String getLevelTypeName() {
        return levelTypeName;
    }

    public void setLevelTypeName(String levelTypeName) {
        this.levelTypeName = levelTypeName;
    }

    public int getKeepValue() {
        return keepValue;
    }

    public void setKeepValue(int keepValue) {
        this.keepValue = keepValue;
    }

    public int getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(int maxValue) {
        this.maxValue = maxValue;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMemberType() {
        return memberType;
    }

    public void setMemberType(String memberType) {
        this.memberType = memberType;
    }
}
